package com.hmjk.health.util;

public class MULTI_USER_DEV_DATA extends DEV_DATA{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8650280853600094486L;
	public String subcode;
	public String nick;
	public String birthday;
	public String gender;
	public double height;
	public double weight;
		
	@Override
	public String toString(){
		return "MULTI_USER_DEV_DATA(" + id + "," + subcode + "," + nick +")";
	}
	
	public boolean sameWith(MULTI_USER_DEV_DATA cmp){
		if(id.equals(cmp.id) && subcode.equals(cmp.subcode))
			return true;
		
		return false;
	}
}
